<template>
  <div>
    <ul>
      <!-- <li>消息编号: {{this.$route.params.id}}</li>
      <li>消息标题：{{this.$route.params.title}}</li> -->
      <!-- <li>a: {{a}}</li>
      <li>b: {{b}}</li> -->
      <li>消息编号: {{id}}</li>
      <li>消息标题：{{title}}</li>
      <!-- <li>消息编号: {{this.$route.query.id}}</li>
      <li>消息标题：{{this.$route.query.title}}</li> -->
    </ul>
  </div>
</template>

<script>
  export default {
    name: "Details",
    // props: ['a','b'],
    props: ['id', 'title'],
    /* mounted() {
      console.log(this.$route)
    } */
  };
</script>

<style>
</style>